<%@ page import="union.Acompanhamento" %>

<h3>Dados de acompanhamento</h3>

<div class="fieldcontain ${hasErrors(bean: acompanhamentoInstance, field: 'observacao', 'error')} required">
	<label for="observacao">
		<g:message code="acompanhamento.observacao.label" default="Observacao" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="observacao" required="" value="${acompanhamentoInstance?.observacao}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: acompanhamentoInstance, field: 'data', 'error')} required">
	<label for="data">
		<g:message code="acompanhamento.data.label" default="Data" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="data" precision="day"  value="${acompanhamentoInstance?.data}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: acompanhamentoInstance, field: 'contrato', 'error')} required">
	<label for="contrato">
		<g:message code="acompanhamento.contrato.label" default="Contrato" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="contrato" name="contrato.id" from="${union.Contrato.list()}" optionKey="id" required="" value="${acompanhamentoInstance?.contrato?.id}" class="many-to-one"/>
</div>

